//
//  UpdatePhoneViewController.h
//  OrderSeat
//
//  Created by 王威 on 14-2-18.
//  Copyright (c) 2014年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@class UpdatePhoneDataSource;
@interface UpdatePhoneViewController : BaseViewController

@property (strong, nonatomic) IBOutlet UIView *contentView;
@property (strong, nonatomic) IBOutlet UITextField *phoneTF;
@property (strong, nonatomic) IBOutlet UITextField *verifyTF;

@property (copy,   nonatomic) NSString *tel;
@property (copy,   nonatomic) NSString *code;
@property (strong, nonatomic) UpdatePhoneDataSource *dataSource;

@end

@interface UpdatePhoneDataSource : BaseDataSource

@property (nonatomic, strong) UpdatePhoneViewController *Controller;

- (void)sendSMSWithURL:(NSString *)url;
- (void)validateCodeWithURL:(NSString *)url;
- (void)updateTel;

@end